import os

if os.environ['SERVER_NAME'] == 'localhost':
    SERVER_URL = 'http://localhost:8080'
    IG_CLIENT_ID = '04379ff27c954d0ba2776104a58ae297'
    IG_CLIENT_SECRET = 'b2f32fbd8c874cae8a4d05bb7689d33a'
    SC_CLIENT_ID = '6c1a2e063349231626b3e548dc2ad203'
    SC_CLIENT_SECRET = 'f582cb8e8a4253bebf09b5aa53f0bbb7'

else:
    SERVER_URL = 'http://www.frontmattr.com'
    IG_CLIENT_ID = '33bc4d091a5e448c9c6d86f0ffece8ab'
    IG_CLIENT_SECRET = 'e87a1393ccc1480498154501bdb444e1'
    SC_CLIENT_ID = 'd8b086cc6bb0c148422125da1c421977'
    SC_CLIENT_SECRET = '639cc8d3fde5dbf6667a0960e36e515d'


IG_AUTH_URL = 'https://api.instagram.com/oauth/authorize'
IG_TOKEN_URL = 'https://api.instagram.com/oauth/access_token'
IG_REDIRECT_URI = SERVER_URL + '/instagram/callback'

SC_AUTH_URL = 'https://soundcloud.com/connect'
SC_TOKEN_URL = 'https://api.soundcloud.com/oauth2/token'
SC_REDIRECT_URI = SERVER_URL + '/soundcloud/callback'